Accusoft.ImagXpress13.Net
QueryBuffer(ImagXpress,Byte[],Int32,LoadOptions) Method




An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
A byte array which contains image information.
An integer value which represents the page number.
Additional load options which contain information about loading the image.
Query buffer for image information such as width, height, bitdepth and image data type.
Syntax
'Declaration
 
Public Overloads Shared Function QueryBuffer( _
   ByVal imagXpress As ImagXpress, _
   ByVal buffer() As Byte, _
   ByVal pageNumber As Integer, _
   ByVal loadOptions As LoadOptions _
) As ImageXData
'Usage
 
Dim imagXpress As ImagXpress
Dim buffer() As Byte
Dim pageNumber As Integer
Dim loadOptions As LoadOptions
Dim value As ImageXData
 
value = ImageX.QueryBuffer(imagXpress, buffer, pageNumber, loadOptions)
public static ImageXData QueryBuffer( 
   ImagXpress imagXpress,
   byte[] buffer,
   int pageNumber,
   LoadOptions loadOptions
)
public: static ImageXData* QueryBuffer( 
   ImagXpress* imagXpress,
   byte[]* buffer,
   int pageNumber,
   LoadOptions* loadOptions
) 
public:
static ImageXData^ QueryBuffer( 
   ImagXpress^ imagXpress,
   array<byte>^ buffer,
   int pageNumber,
   LoadOptions^ loadOptions
) 

Parameters

imagXpress
An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
buffer
A byte array which contains image information.
pageNumber
An integer value which represents the page number.
loadOptions
Additional load options which contain information about loading the image.

Return Value

An ImageXData object containing information about the image being queried.
Remarks
Options can select to query for other options constraints.
See Also

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback